<%--
  Created by IntelliJ IDEA.
  User: dailyblue
  Date: 2023/4/8
  Time: 14:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<c:if test="${empty USER}">
    <c:set var="ERROR" value="请登录后访问" scope="session"/>
    <c:redirect url="login.jsp"/>
</c:if>
欢迎${USER.nickname}的访问，<a href="user_logout">注销</a>
</body>
</html>
